#pragma once

#include "Syntax/Kind.hpp"
#include "Syntax/Statement/Statement.hpp"
#include "Syntax/Expression/Expression.hpp"

#include <string>
#include <vector>

class ExpressionStatementSyntax : public StatementSyntax
{
public:
    SharedExpression Expression;

public:
    ExpressionStatementSyntax(SharedExpression expression)
        : StatementSyntax(SyntaxKind::ExpressionStatement, "ExpressionStatement"),
          Expression(expression) {}
    ~ExpressionStatementSyntax() = default;
};

// 定义类型;
typedef std::shared_ptr<ExpressionStatementSyntax> SharedExpressionStatement;
